package com.andy.dao.entity;

import java.util.List;

public class TUser {

    private Integer id;

    private String userName;

    private String userMobile;

    private List<TOrder> orders;

    public List<TOrder> getOrders() {
        return orders;
    }

    public void setOrders(List<TOrder> orders) {
        this.orders = orders;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

    @Override
    public String toString() {
        return "TUser{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", userMobile='" + userMobile + '\'' +
                ", orders=" + orders +
                '}';
    }
}
